package com.taotao.jdk01;

import com.taotao.mapper.UserMapper;

/**
 * @Author: wangjin
 * @CreateTime: 2022-08-06  18:47
 */
public class MapperProxy {
    public  static UserMapper getUserMapper(Class mapperClass){
        return  new MybatisJdkInvocationHandler(mapperClass).getProxy();
    }
}
